﻿using System.ComponentModel;

namespace SxPackages.STC32G.Models
{
	/// <summary>
	/// PWM输出模式定义
	/// </summary>
	enum PWMModes
	{
		/// <summary>
		/// CCMRn_FREEZE
		/// </summary>
		[Description("CCMRn_FREEZE")]
		冻结,
		/// <summary>
		/// CCMRn_MATCH_VALID
		/// </summary>
		[Description("CCMRn_MATCH_VALID")]
		匹配时输出有效电平,
		/// <summary>
		/// CCMRn_MATCH_INVALID
		/// </summary>
		[Description("CCMRn_MATCH_INVALID")]
		匹配时输出无效电平,
		/// <summary>
		/// CCMRn_ROLLOVER
		/// </summary>
		[Description("CCMRn_ROLLOVER")]
		翻转,
		/// <summary>
		/// CCMRn_FORCE_INVALID
		/// </summary>
		[Description("CCMRn_FORCE_INVALID")]
		强制为无效电平,
		/// <summary>
		/// CCMRn_FORCE_VALID
		/// </summary>
		[Description("CCMRn_FORCE_VALID")]
		强制为有效电平,
		/// <summary>
		/// CCMRn_PWM_MODE1
		/// </summary>
		[Description("CCMRn_PWM_MODE1")]
		PWM模式1,
		/// <summary>
		/// CCMRn_PWM_MODE2
		/// </summary>
		[Description("CCMRn_PWM_MODE2")]
		PWM模式2,
	}
}
